From: Dirk Neukirchen Date: Mon, 15 Jun 2015 10:36:55 +0000 (+0200) Subject: bird: explicitly set C standard X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22http:/www.crowdsec.net/%22/%22https:/collectd.org/%22http:/www.crowdsec.net/%22?a=commitdiff_plain;h=refs%2Fpull%2F133%2Fhead;p=feed%2Frouting.git bird: explicitly set C standard fixes gcc5 compile compile error was: cf-lex.o: In function `add_tail': cf-lex.c:(.text+0x2d1): multiple definition of `add_tail' cf-parse.tab.o:cf-parse.tab.c:(.text+0x1f9): first defined here Signed-off-by: Dirk Neukirchen --- diff --git a/bird/Makefile b/bird/Makefile index 5f8200c..eeb5106 100644 --- a/bird/Makefile +++ b/bird/Makefile @@ -161,6 +161,8 @@ endef CONFIGURE_ARGS += --with-linux-headers="$(LINUX_DIR)" +TARGET_CFLAGS+=-std=gnu89 + define Build/Template $(STAMP_BUILT)-$(2): $(STAMP_PREPARED)